﻿using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Orchard.Luo.Test
{

    public class TestItem:ContentPartRecord
    {
        void TT()
        {

        }

        public string Name { get; set; }

        public decimal Price { get; set; }
    }

    public class TestPart : ContentPart<TestItem>
    {
        public string Name
        {
            get
            {
                return Record.Name;
            }
            set
            {
                this.Record.Name = value;
            }
        }

    }
}
